package com.medical.acc.mapper;



import com.medical.acc.model.Level;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface LevelMapper {
   
    //查询全部
    List<Level> selectAll();
    //根据id删除
    void deleteByPrimaryKey(int id);

    void saveLevel(Level level);

    Level selectByPrimaryKey(int id);
    Level selectByName(String name);

    void updateByPrimaryKey(Level level);
}